package com.gopay.common.rcs.service.translimit;

import com.gopay.common.domain.rcs.req.RcsTransLimitRequest;
import com.gopay.common.domain.rcs.res.RcsTransLimitResponse;
import com.gopay.common.exception.GopayException;

/**
 * 修改额度
 * @RcsModifyTransLimitService.java
 * @author liujy
 * @2013-7-22 下午2:30:57  www.gopay.com.cn Inc.All rights reserved.
 */
public interface RcsModifyTransLimitService {
    
    /**
     * 累计额度增加
     * @param request
     * @return
     * @throws GopayException
     */
    RcsTransLimitResponse addTranLimit(RcsTransLimitRequest request) throws GopayException;
    
    /**
     * 回滚累计额度
     * @param request
     * @return
     * @throws GopayException
     */
    RcsTransLimitResponse subtractTranLimit(RcsTransLimitRequest request) throws GopayException;
}